package com.alibaba.dubbo.common.inet;

import java.net.InetAddress;

public class ProxyInetAddressMatcher implements InetAddressMatcher {
	
	InetAddressMatcher proxy;
	
	public ProxyInetAddressMatcher(InetAddressMatcher matcher){
		proxy = matcher;
	}

	@Override
	public boolean match(InetAddress address) {
		return proxy.match(address);
	}

	@Override
	public InetAddress select(InetAddress[] addresses) {
		return proxy.select(addresses);
	}

}
